from TST.CaptureCard import *
cc = CaptureCard()
cc.takePicture("D:/13.bmp")
cc.close()

'''
# import socket
#
# ip_port = ('localhost',8888)
#
# sk = socket.socket()
# sk.connect(ip_port)
# while True:
#     inp = input('数据：').strip()
#     # sk.send("adfabdf")
#     sk.send(bytes(inp+"\n",encoding='utf8'))
#     if inp == 'exit':
#         break
#
# sk.close()
'''